package com.hutao.manage.query;

import java.util.Date;

import com.hutao.manage.util.StringUtil;


public class CybingrenTJSearch {
	private String zzdm;//组织机构代码
	private Date chuyuanrqStart;// 出院开始时间
	private Date chuyuanrqEnd;// 出院结束时间
	private String jbzd_lei;// 疾病诊断
	private String jbzd_ya;
	private String jbzd_xi;
	private String sscz_lei;// 手术操作
	private String sscz_ya;
	private String sscz_xi;
	private String sscz;//手术操作
	private String cyks;// 出院科室
	private String cyksName;// 出院科室名称
	// ///// 医师
	private String yishiCardId;
	private String ystype;
	private String zhaiyao;
	private String state;
	private String zrr;
	private String zrrname;
	private String lyfs;

	private String jbzd;
	private String ssmc;
	private String zl;

	private String zdlx;
	private String rybq;
	
	public String getZdlx() {
		return zdlx;
	}

	public void setZdlx(String zdlx) {
		this.zdlx = zdlx;
	}

	private Integer startYear;
	private Integer startMonth;
	private Integer startDay;
	private Integer endYear;
	private Integer endMonth;
	private Integer endDay;
	private String mrliable;
	private String subject;
	private Integer ageS;
	private Integer ageE;	
	private String branchId;
	/*
	 * public String getkey() { StringBuilder keyStr = new StringBuilder();
	 * keyStr.append(DateHelper.getyyyyMMdd().format(chuyuanrqStart)).append(
	 * DateHelper.getyyyyMMdd().format(chuyuanrqEnd));
	 * keyStr.append(jbzd_lei).append(jbzd_ya).append(jbzd_xi);
	 * keyStr.append(sscz_lei).append(sscz_ya).append(sscz_xi); keyStr.append(cyks);
	 * return keyStr.toString(); }
	 */

	public Date getChuyuanrqStart() {
		return chuyuanrqStart;
	}

	public void setChuyuanrqStart(Date chuyuanrqStart) {
		this.chuyuanrqStart = chuyuanrqStart;
	}

	public Date getChuyuanrqEnd() {
		return chuyuanrqEnd;
	}

	public void setChuyuanrqEnd(Date chuyuanrqEnd) {
		this.chuyuanrqEnd = chuyuanrqEnd;
	}

	public String getCyks() {
		return cyks;
	}

	public String getJbzd_lei() {
		return jbzd_lei;
	}

	public void setJbzd_lei(String jbzd_lei) {
		this.jbzd_lei = jbzd_lei;
	}

	public String getJbzd_ya() {
		return jbzd_ya;
	}

	public void setJbzd_ya(String jbzd_ya) {
		this.jbzd_ya = jbzd_ya;
	}

	public String getJbzd_xi() {
		return jbzd_xi;
	}

	public void setJbzd_xi(String jbzd_xi) {
		this.jbzd_xi = jbzd_xi;
	}

	public String getSscz_lei() {
		return sscz_lei;
	}

	public void setSscz_lei(String sscz_lei) {
		this.sscz_lei = sscz_lei;
	}

	public String getSscz_ya() {
		return sscz_ya;
	}

	public void setSscz_ya(String sscz_ya) {
		this.sscz_ya = sscz_ya;
	}

	public String getSscz_xi() {
		return sscz_xi;
	}

	public void setSscz_xi(String sscz_xi) {
		this.sscz_xi = sscz_xi;
	}

	public void setCyks(String cyks) {
		this.cyks = cyks;
	}

	public String getCyksName() {
		return cyksName;
	}

	public void setCyksName(String cyksName) {
		this.cyksName = cyksName;
	}

	// 有一个不为空说明就有值
	public boolean ishaveJB() {
		if (StringUtil.notNullAndLengNot0(jbzd_lei)
				|| StringUtil.notNullAndLengNot0(jbzd_ya)
				|| StringUtil.notNullAndLengNot0(jbzd_xi)) {
			return true;
		}
		return false;
	}

	// 有一个不为空说明就有值
	public boolean ishaveSS() {
		if (StringUtil.notNullAndLengNot0(sscz_lei)
				|| StringUtil.notNullAndLengNot0(sscz_ya)
				|| StringUtil.notNullAndLengNot0(sscz_xi)) {
			return true;
		}
		return false;
	}

	public String getYishiCardId() {
		return yishiCardId;
	}

	public void setYishiCardId(String yishiCardId) {
		this.yishiCardId = yishiCardId;
	}

	public String getYstype() {
		return ystype;
	}

	public void setYstype(String ystype) {
		this.ystype = ystype;
	}

	public String getZhaiyao() {
		return zhaiyao;
	}

	public void setZhaiyao(String zhaiyao) {
		this.zhaiyao = zhaiyao;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getZrr() {
		return zrr;
	}

	public void setZrr(String zrr) {
		this.zrr = zrr;
	}

	public String getZrrname() {
		return zrrname;
	}

	public void setZrrname(String zrrname) {
		this.zrrname = zrrname;
	}

	public String getLyfs() {
		return lyfs;
	}

	public void setLyfs(String lyfs) {
		this.lyfs = lyfs;
	}

	public String getJbzd() {
		return jbzd;
	}

	public void setJbzd(String jbzd) {
		this.jbzd = jbzd;
	}

	public String getSsmc() {
		return ssmc;
	}

	public void setSsmc(String ssmc) {
		this.ssmc = ssmc;
	}

	public String getZl() {
		return zl;
	}

	public void setZl(String zl) {
		this.zl = zl;
	}

	public Integer getStartYear() {
		return startYear;
	}

	public void setStartYear(Integer startYear) {
		this.startYear = startYear;
	}

	public Integer getStartMonth() {
		return startMonth;
	}

	public void setStartMonth(Integer startMonth) {
		this.startMonth = startMonth;
	}

	public Integer getStartDay() {
		return startDay;
	}

	public void setStartDay(Integer startDay) {
		this.startDay = startDay;
	}

	public Integer getEndYear() {
		return endYear;
	}

	public void setEndYear(Integer endYear) {
		this.endYear = endYear;
	}

	public Integer getEndMonth() {
		return endMonth;
	}

	public void setEndMonth(Integer endMonth) {
		this.endMonth = endMonth;
	}

	public Integer getEndDay() {
		return endDay;
	}

	public void setEndDay(Integer endDay) {
		this.endDay = endDay;
	}

	public String getRybq() {
		return rybq;
	}

	public void setRybq(String rybq) {
		this.rybq = rybq;
	}

	public String getZzdm() {
		return zzdm;
	}

	public void setZzdm(String zzdm) {
		this.zzdm = zzdm;
	}

	public String getSscz() {
		return sscz;
	}

	public void setSscz(String sscz) {
		this.sscz = sscz;
	}

	public String getMrliable() {
		return mrliable;
	}

	public void setMrliable(String mrliable) {
		this.mrliable = mrliable;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Integer getAgeS() {
		return ageS;
	}

	public void setAgeS(Integer ageS) {
		this.ageS = ageS;
	}

	public Integer getAgeE() {
		return ageE;
	}

	public void setAgeE(Integer ageE) {
		this.ageE = ageE;
	}

	public String getBranchId() {
		return branchId;
	}

	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}

}
